package com.chat.net.socket;

/**
 * Channel 管道
 *
 */
public interface Channel {

    ChannelContext getChannelContext();

    void setChannelContext(ChannelContext channelContext);

    void read(ChannelContext channelContext);

    void write(ChannelContext channelContext);

}
